// web端样式
.web-container {
    .indexBanner {
        width: 100%;
        height: 700px;
    }

    .section_content {

        // 关于我们
        .card {
            display: flex;
            justify-content: space-between;

            .cardItem {
                width: 507px;
                padding: 50px 0px 13px;
                background-color: #FFFFFF;
                border-radius: 20px;
                display: flex;
                flex-direction: column;
                align-items: center;

                .cardArrow {
                    width: 50px;
                    height: 50px;
                    background: #343434;
                    border-radius: 50%;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    margin: 47px 0px 52px;

                    .el-icon-right {
                        font-size: 30px;
                        color: #FFFFFF;
                    }
                }

                .cardImage {
                    width: 392px;
                    height: 450px;
                }
            }
        }

        // 祭祖服务与产品
        .serviceBanner {
            width: 100%;
            height: 576px;
            position: relative;

            .whiteButton {
                position: absolute;
                top: 416px;
                left: 700px;
            }
        }

        // 实时新讯
        .news {
            display: flex;
            justify-content: space-between;

            .newsItem {
                width: 503px;
                height: 710px;
                background-repeat: no-repeat;
                background-size: contain;
                display: flex;
                flex-direction: column;
                justify-content: space-between;
                padding: 40px 40px 40px;
                box-sizing: border-box;

                .box {
                    width: 100%;
                    display: flex;
                    justify-content: flex-end;

                    .newsArrow {
                        width: 50px;
                        height: 50px;
                        background: #ffffff;
                        border-radius: 50%;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        cursor: pointer;

                        .el-icon-right {
                            font-size: 30px;
                            color: #000000;
                        }
                    }
                }
            }
        }

        // 百家论坛
        // 轮播区域
        .swiper-container {
            width: 100%;

            .swiper-slide {
                width: 100%;
                display: flex;
                justify-content: space-between;

                .leftBox {
                    width: 780px;
                    height: 502px;
                    background-repeat: no-repeat;
                    background-size: contain;

                    .leftBoxMessage {
                        padding-top: 429px;
                        display: flex;
                        justify-content: space-around;
                        align-items: center;

                        .boxTitle {
                            font-weight: 500;
                            font-size: 26px;
                            color: #FFFFFF;
                        }

                        .rightArrow {
                            width: 50px;
                            height: 50px;
                            background: #ffffff;
                            border-radius: 50%;
                            display: flex;
                            align-items: center;
                            justify-content: center;
                            cursor: pointer;

                            .el-icon-right {
                                font-size: 30px;
                                color: #000000;
                            }
                        }
                    }
                }

                .rightBox {
                    display: flex;

                    .forumBox {

                        .topImg {
                            width: 370px;
                            height: 300px;
                            background-repeat: no-repeat;
                            background-size: contain;
                        }

                        .bottomMsg {
                            padding-left: 16px;
                            margin-top: 20px;

                            .pageH4 {
                                margin-top: 10px;
                                width: 338px;
                            }
                        }
                    }

                    .forumBox:first-child {
                        margin: 0px 40px 0px 0px;
                    }
                }
            }
        }

        // 百家姓风采
        .section_text {
            width: 1300px;
            margin: 40px auto 40px;
        }
    }


}

// mobile端样式
.mobile-container {
    .indexBanner {
        width: 100%;
    }

    .section_content {

        // 关于我们 轮播
        .swiper-container {
            .swiper-slide {
                .cardItem {
                    width: 100%;
                    padding: 24px 0px 6px;
                    background-color: #F5F5F7;
                    border-radius: 10px;
                    display: flex;
                    flex-direction: column;
                    align-items: center;

                    .cardArrow {
                        width: 20px;
                        height: 20px;
                        background: #343434;
                        border-radius: 50%;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        margin: 10px 0px 12px;

                        .el-icon-right {
                            font-size: 16px;
                            color: #FFFFFF;
                        }
                    }

                    .cardImage {
                        width: 80px;
                        height: 118px;
                    }
                }
            }
        }

        // 祭祖服务与产品
        .serviceBanner {
            width: 100%;
            position: relative;

            .whiteButton {
                position: absolute;
                top: 112px;
                left: 50%;
                transform: translateX(-50%);
            }
        }

        // 实时新讯轮播
        .swiper-container-news {
            .swiper-slide {
                .newsItem {
                    position: relative;
                    height: 210px;

                    .mesg {
                        position: absolute;
                        top: 0;
                        padding: 14px 16px 16px 14px;
                        box-sizing: border-box;
                        width: 100%;
                        height: 100%;
                        display: flex;
                        flex-direction: column;
                        justify-content: space-between;

                        .box {
                            display: flex;
                            justify-content: flex-end;

                            .newsArrow {
                                width: 20px;
                                height: 20px;
                                background: #ffffff;
                                border-radius: 50%;
                                display: flex;
                                align-items: center;
                                justify-content: center;
                                cursor: pointer;

                                .el-icon-right {
                                    font-size: 10px;
                                    color: #000000;
                                }
                            }
                        }
                    }
                }
            }
        }

        // 百家论坛
        .mobileForum {
            .mobileContent {

                .contentItem {
                    display: flex;
                    margin-bottom: 16px;

                    .leftUrl {
                        width: 49%;
                        height: 117px;
                    }

                    .rightMsg {
                        width: 49%;
                        margin: 2px 0px 0px 10px;

                        .pageH4 {
                            margin: 4px 0px 13px;
                        }
                    }
                }
            }
        }

        // 百家姓风采
        .serviceBanner {
            width: 100%;
            height: 170px;
            border-radius: 10px;
        }

        .section_text {
            margin: 20px auto 20px;
        }

        .redButton {
            margin: auto;
        }
    }
}

// ipad端样式
.ipad-container {}